package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPromoterDao;
import com.appkubes.mall.core.entity.MallPromoter;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPromoterService extends AbstractBaseService<BaseMallPromoterDao, MallPromoter> {

    MallPromoter getOneByEntity(MallPromoter entity);

    List<MallPromoter> selectListByEntity(MallPromoter entity);

    IPage<MallPromoter> selectPageByEntity(IPage<MallPromoter> page);
    IPage<MallPromoter> selectPageByEntity(PageVO pageVO);

    IPage<MallPromoter> selectPageByEntity(MallPromoter entity, IPage<MallPromoter> page);
    IPage<MallPromoter> selectPageByEntity(MallPromoter entity, PageVO pageVO);

    IPage<MallPromoter> selectPageByEntity(MallPromoter entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPromoter entity);
}
